package com.rpframework.website.device.domain;

import com.rpframework.core.Domain;
import com.rpframework.core.mybatis.plugin.annotation.FieldMapperAnnotation;
import com.rpframework.core.mybatis.plugin.annotation.TableMapperAnnotation;
import com.rpframework.core.mybatis.plugin.annotation.UniqueKeyType;

/**
*优惠券
***/
@TableMapperAnnotation(tableName = "t_coupon", uniqueKeyType = UniqueKeyType.Single, uniqueKey = "id")
public class Coupon extends Domain{
	private static final long serialVersionUID = 1L;
	
	/**
	 * 
	 * */
	@FieldMapperAnnotation
	private Integer id;
	/**
	 * 用户id
	 * */
	@FieldMapperAnnotation
	private Integer userId;
	/**
	 * 
	 * */
	@FieldMapperAnnotation
	private String name;
	/**
	 * 
	 * */
	@FieldMapperAnnotation
	private String image;
	/**
	 * 
	 * */
	@FieldMapperAnnotation
	private String price;
	/**
	 * 
	 * */
	@FieldMapperAnnotation
	private String introduction;
	/**
	 * 
	 * */
	@FieldMapperAnnotation
	private String startTime;
	/**
	 * 
	 * */
	@FieldMapperAnnotation
	private String endTime;
	/**
	 * 
	 * */
	@FieldMapperAnnotation
	private String createTimes;
	/**
	 * 
	 * */
	@FieldMapperAnnotation
	private String memo;
	/**
	 * 
	 * */
	@FieldMapperAnnotation
	private Integer state;
	/**
	 * @return the id
	 */
	public Integer getId() {
		return id;
	}
	/**
	 * @return the userId
	 * 用户id
	 */
	public Integer getUserId() {
		return userId;
	}
	/**
	 * @return the name
	 * 优惠券名称
	 */
	public String getName() {
		return name;
	}
	/**
	 * @return the image
	 * 图片
	 */
	public String getImage() {
		return image;
	}
	/**
	 * @return the price
	 * 券额
	 */
	public String getPrice() {
		return price;
	}
	/**
	 * @return the introduction
	 * 简介
	 */
	public String getIntroduction() {
		return introduction;
	}
	/**
	 * @return the startTime
	 * 有效开始时间
	 */
	public String getStartTime() {
		return startTime;
	}
	/**
	 * @return the endTime
	 * 过期时间
	 */
	public String getEndTime() {
		return endTime;
	}
	/**
	 * @return the memo
	 * 备注
	 */
	public String getMemo() {
		return memo;
	}
	/**
	 * @return the state
	 * 状态 0正常 1禁用
	 */
	public Integer getState() {
		return state;
	}
	/**
	 * @param id the id to set
	 */
	public void setId(Integer id) {
		this.id = id;
	}
	/**
	 * @param userId the userId to set
	 * 用户id
	 */
	public void setUserId(Integer userId) {
		this.userId = userId;
	}
	/**
	 * @param name the name to set
	 * 优惠券名称
	 */
	public void setName(String name) {
		this.name = name;
	}
	/**
	 * @param image the image to set
	 * 图片
	 */
	public void setImage(String image) {
		this.image = image;
	}
	/**
	 * @param price the price to set
	 * 券额
	 */
	public void setPrice(String price) {
		this.price = price;
	}
	/**
	 * @param introduction the introduction to set
	 * 简介 
	 */
	public void setIntroduction(String introduction) {
		this.introduction = introduction;
	}
	/**
	 * @param startTime the startTime to set
	 * 有效开始时间
	 */
	public void setStartTime(String startTime) {
		this.startTime = startTime;
	}
	/**
	 * @param endTime the endTime to set
	 * 过期 时间
	 */
	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}
	/**
	 * @param memo the memo to set
	 * 备注
	 */
	public void setMemo(String memo) {
		this.memo = memo;
	}
	/**
	 * @param state the state to set
	 * 状态 0正常 1禁用
	 */
	public void setState(Integer state) {
		this.state = state;
	}
	public String getCreateTimes() {
		return createTimes;
	}
	public void setCreateTimes(String createTimes) {
		this.createTimes = createTimes;
	}
}
